﻿using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations.Schema;
using System.Text;
using Abp.Domain.Entities.Auditing;

namespace FwProject.Restaurant
{
    [Table("LoadCarRecovery")]
    public class LoadCarRecovery: FullAuditedEntity<Guid>
    {
        /// <summary>
        /// 装车id
        /// </summary>
        public Guid LoadCarId { get; set; }
        /// <summary>
        /// 餐厅id
        /// </summary>
        public Guid RestaurantId { get; set; }
        /// <summary>
        /// 型号id
        /// </summary>
        public Guid TypeNumberInfoId { get; set; }

        /// <summary>
        /// 配送id
        /// </summary>
        public Guid DistributionInfoId { get; set; }
        /// <summary>
        /// 回收
        /// </summary>
        /// <value>The recoverycount.</value>
        public int Recoverycount { get; set; } = 0;
        /// <summary>
        /// 折损
        /// </summary>
        /// <value>The damagecount.</value>
        public int Damagecount { get; set; } = 0;
        /// <summary>
        /// 退箱
        /// </summary>
        /// <value>The backboxcount.</value>
        public int Backboxcount { get; set; } = 0;
        /// <summary>
        /// 退数
        /// </summary>
        /// <value>The backnumbercount.</value>
        public int Backnumbercount { get; set; } = 0;
    }
}
